// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.linqingying.gitcode.api.data.pullrequest.timeline

import com.intellij.openapi.util.NlsSafe
import com.linqingying.gitcode.api.data.GCActor
import com.linqingying.gitcode.api.data.GCCommitShort
import com.linqingying.gitcode.api.data.pullrequest.GCPullRequestState
import java.util.*

data class GCPRMergedEvent(override val actor: GCActor?,
                           override val createdAt: Date,
                           val commit: GCCommitShort?,
                           val mergeRefName: @NlsSafe String)
  : GCPRTimelineEvent.State {
  override val newState = GCPullRequestState.MERGED
}
